package com.xzssmk.leisure.x.util;

import java.util.Random;

public class VerifyCodeUtil {

    public static String generateVerifyCode() {
        String str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
        String uuid = new String();
        for (int i = 0; i < 4; i++) {
            char ch = str.charAt(new Random().nextInt(str.length()));
            uuid += ch;
        }
        return uuid;
    }

}
